<template>
  <div id="app">
    <transition :name="transname" :mode="modes">
        <router-view/>
    </transition>
    
  </div>
</template>

<script>
// import {wexinsdk} from './wx/wxsdk.js'
export default {
  name: 'App',
  data(){
    return{
      transname:'router-fade',
      modes:'out-in'
    }
  },
  created(){
      if(window.location.hash.indexOf('login')==-1){
          sessionStorage.setItem('curl',window.location.hash.slice(1))
      }
  },
  mounted(){
    // console.log(111)
    // wexinsdk()
  }
}
</script>

<style>
body,html{ font-family:"microsoft yahei"}
body, h1, h2, h3, h4, h5, h6, hr, p, blockquote, dl, dt, dd, ul, ol, li, pre, form, fieldset, legend, button, input, textarea, th, td { margin:0; padding:0;} 
body, button, input, select, textarea { font:12px/1.5tahoma, arial, \5b8b\4f53; color: #333} 
h1, h2, h3, h4, h5, h6{ font-size:100%; } 
address, cite, dfn, em, var { font-style:normal; } 
code, kbd, pre, samp { font-family:couriernew, courier, monospace; } 
small{ font-size:12px; } 
ul, ol { list-style:none; } 
a { text-decoration:none; } 
a:hover { text-decoration:underline; } 
sup { vertical-align:text-top; } 
sub{ vertical-align:text-bottom; } 
legend { color:#000; } 
fieldset, img { border:0; } 
button, input, select, textarea { font-size:100%; } 
table { border-collapse:collapse; border-spacing:0; }
input[type="text"],textarea{appearance:none;border:none;background: transparent}
.router-fade-enter-active, .router-fade-leave-active {
    transition: opacity .3s;
}
.router-fade-enter, .router-fade-leave-active {
    opacity: 0;
}
</style>
